package tptecnicas.logging.filters;

import tptecnicas.logging.MessageInfo;

public class LineAndLevelFilter implements Filter {

	/**
	 * Filters a message that isn't debug level
	 * or the caller linenumber is less than 100
	 */
	@Override
	public boolean shouldBeFiltered(MessageInfo message) {
		
		return (!message.getLevel().equals("DEBUG") && message.getLineNumber() < 100);
	}

}
